<?php
require_once('/includes/general.php');
/**
 * This class has all the method to interact with database.
 */ 
class FlashgiuaService{
    
    public function getFlashgiua(){
        tep_db_checkDb() or die('Cannot connect to database');
        $sqlQuery = 'select * from tbl_flash_giua';
        $query = tep_db_query($sqlQuery);
        return tep_db_fetch_array($query);
    }
}

?>